﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MOLE
{
 public   class global
    {
     public static bool istest = false;





     public static void showMessage(string p_strShowMessage)
     {
         System.Web.UI.Page Mypage = (System.Web.UI.Page)System.Web.HttpContext.Current.Handler;
         Mypage.RegisterStartupScript("01", "<script language=javascript> alert('" + p_strShowMessage + "')</script>");
     }


         public static string trimx(string str,string trimstr)
     {
         string k = str;
           k=  k.Substring(0, k.Length - 1);
        k=   k.Replace("`", "");
           return k;
     }




    

    }







    
}
